<?php
namespace Home\Model;
use Think\Model\ViewModel;
class OrderViewModel extends ViewModel{
	protected $connection = 'PRODUCT';
	protected $tablePrefix = '';
    public $viewFields = array(
    'Orderb'=>array('name','money','people','child','go_time','order_number','_table'=>"order_b",'_as'=>'Orderb'),
    'Orderc'=>array('status','_table'=>"order_c",'_as'=>'Orderc','_on'=>'Orderb.order_number=Orderc.order_number'),
   );
}
?>